package com.gzhryc.shared_device.oem.code.business.dao.db;

import com.gzhryc.jdbc.annotaion.Column;
import com.gzhryc.jdbc.annotaion.Id;
import com.gzhryc.jdbc.annotaion.Table;
import com.gzhryc.jdbc.annotaion.UniqueKey;

import java.util.Date;

/**
 * 场地推荐
 * @version 2023-10-21
 */
@Table(name = "business_place_recommendation")
public class PlaceRecommendation {

    @Id(autoIncrement = 10)
    @Column
    protected Long id;

    @Column(name="member_id",notNull = true, note = "会员ID")
    protected Long memberId;

    @Column(name="member_name",length = 64,notNull = true, note = "会员姓名")
    protected String memberName;

    @Column(name="member_phone",notNull = true, note = "会员手机号")
    protected String memberPhone;

    @Column(length = 32,notNull = true, note = "姓名")
    protected String name;

    @UniqueKey
    @Column(length = 16,notNull = true, note = "联系方式")
    protected String phone;

    @Column(note = "省")
    protected String province;

    @Column(note = "城市")
    protected String city;

    @Column(name = "city_area", note = "城区")
    protected String cityArea;

    @Column(length = 128, note = "备注")
    protected String note;

    @Column(notNull = true,defVal = "1",note = "状态")
    protected Integer state;

    @Column(length = 64, note = "处理信息")
    protected String operateNote;

    @Column(name = "update_date", autoUpdateTime = true)
    protected Date updateDate;

    @Column(name = "create_date")
    protected Date createDate;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getMemberPhone() {
        return memberPhone;
    }

    public void setMemberPhone(String memberPhone) {
        this.memberPhone = memberPhone;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCityArea() {
        return cityArea;
    }

    public void setCityArea(String cityArea) {
        this.cityArea = cityArea;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getOperateNote() {
        return operateNote;
    }

    public void setOperateNote(String operateNote) {
        this.operateNote = operateNote;
    }

    public Date getUpdateDate() {
        return updateDate;
    }

    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
